
var arr = [1,2,3];
arr.splice(1,1);
console.log(arr.toString());